#include "../../Headers/Classes/room.h"

Room::Room()
{
    setId(0);
    setNumber("");
    setName("");
    setFloor(0);
    setType(TypeOfRoom());
}

Room::Room(int id, QString number, QString name, int floor, TypeOfRoom type)
{
    setId(id);
    setNumber(number);
    setName(name);
    setFloor(floor);
    setType(type);
}

void Room::setId(int id)
{
    this->id = id;
}

void Room::setNumber(QString number)
{
    this->number = number;
}

void Room::setName(QString name)
{
    this->name = name;
}

void Room::setFloor(int floor)
{
    this->floor = floor;
}

void Room::setType(TypeOfRoom type)
{
    this->type = type;
}

int Room::getId()
{
    return id;
}

QString Room::getNumber()
{
    return number;
}

QString Room::getName()
{
    return name;
}

int Room::getFloor()
{
    return floor;
}

TypeOfRoom Room::getType()
{
    return type;
}
